package com.koron.common.web.electronicsignature.fegin;

import com.koron.bean.base.Response;
import com.koron.common.core.feignConfig.FeignFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(value = "eam-service-order", fallbackFactory = FeignFallbackFactory.class)
public interface ElectronicSignatureExperimentService {

    @GetMapping("/experiment/execute/electronicSignatureCallback")
    Response electronicSignatureCallback(@RequestParam("experimentEquipmentId") String experimentEquipmentId,
                                         @RequestParam("documentId") String documentId,
                                         @RequestParam("tenantName") String tenantName,
                                         @RequestParam("contact") String contact,
                                         @RequestParam("type") String type,
                                         @RequestParam("signStatus") String signStatus);

}
